# Key bindings
# ------------
if [[ $- == *i* ]]; then

# CTRL-M - 快速叫出 bc
ZC=$(which 'zc')
__zc_start() {
  [ -n "$ZC" ] && $ZC > /dev/null
}

zcliper_start() {
  LBUFFER="${LBUFFER}$(__zc_start)"
  local ret=$?
  zle reset-prompt
  return $ret
}

zle     -N   zcliper_start
bindkey '\e\e' zcliper_start

fi
